package carstore.userserver.services;

import carstore.userserver.models.Car;
import java.util.List;
import org.springframework.data.repository.CrudRepository;

public interface CarRepository extends CrudRepository<Car, Long> {

        List<Car> findByfactoryId(String factoryId);
        List<Car> findBycarNAME(String carNAME);
}
